package com.lsyw.intergrate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lsyw.intergrate.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 用户角色关联
 * </p>
 *
 * @author 刘磊
 * @since 2023-04-21
 */
@Data
@Accessors(chain = true)

public class SysUsersRoles  extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID")
    private String roleId;

    @ApiModelProperty(value = "角色id")
    @TableField(exist = false)
    private List<String> roleIds;


}
